package com.example.threadstack;

import java.util.concurrent.TimeUnit;

public class Utils {
    public static String getCurrentTime(){
        return String.valueOf(System.currentTimeMillis());
    }

    public static void sleepForMs(int timeout){
        try {
            TimeUnit.MILLISECONDS.sleep(timeout);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
